package team.bluepen.supermarket.data.hbase;

import org.apache.hadoop.hbase.client.Put;
import team.bluepen.supermarket.data.entity.HbaseItem;

/**
 * @author Kai
 */
public interface LineReader<T extends HbaseItem<T>> {
    T readLine(String line);

    Put buildPut(T t);

    Put buildPut(String line);
}
